# $NetBSD: Makefile,v 1.1 2014/10/15 17:56:40 nros Exp $

DISTNAME=	libqtlua-2.0
PKGNAME=	qt5-${DISTNAME}
CATEGORIES=	x11
MASTER_SITES=	https://download.savannah.gnu.org/releases/libqtlua/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://www.nongnu.org/libqtlua/
COMMENT=	Lua alternative to the Qt5Script module
LICENSE=	gnu-gpl-v3 OR gnu-lgpl-v3

USE_CMAKE=	yes
USE_LANGUAGES=	c c++

CMAKE_ARGS+=	-DINSTALL_BIN=${QTDIR}/bin
CMAKE_ARGS+=	-DINSTALL_INC=${QTDIR}/include
CMAKE_ARGS+=	-DINSTALL_LIB=${QTDIR}/lib

.include "../../lang/lua51/buildlink3.mk"
.include "../../x11/qt5-qtbase/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
